<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>  
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Reports</title>

    <!-- Bootstrap -->
    <link href="/base/css/bootstrap.min.css" rel="stylesheet">
    <link href="/css/dashboard.css" rel="stylesheet">
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
	<nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="/index"> Welcome, <shiro:principal/></a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav navbar-right">
            <li><a href="/index">Dashboard</a></li>
            <li><a href="#">Settings</a></li>
            <li><a href="#">Profile</a></li>
            <li><a href="#">Help</a></li>
            <li><a href="/logout">Exit</a></li>
          </ul>
          <form class="navbar-form navbar-right">
            <input type="text" class="form-control" placeholder="Search...">
          </form>
        </div>
      </div>
    </nav>

    <div class="container-fluid">
      <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
          <ul class="nav nav-sidebar">
            <li><a href="/index">Overview <span class="sr-only">(current)</span></a></li>
            <shiro:hasPermission name="Reports">
            	<li class="active"><a href="/reports">Reports</a></li>
            </shiro:hasPermission>
            <shiro:hasPermission name="Analytics">
            	<li><a href="#">Analytics</a></li>
            </shiro:hasPermission>
            <shiro:hasPermission name="Export">
            	<li><a href="#">Export</a></li>
            </shiro:hasPermission>
            <shiro:hasPermission name="Nav_item">
            	<li><a href="">Nav item</a></li>
            </shiro:hasPermission>
            <shiro:hasPermission name="Nav_item_again">
            	<li><a href="">Nav item again</a></li>
            </shiro:hasPermission>
            <shiro:hasPermission name="One_more_nav">
            	<li><a href="">One more nav</a></li>
            </shiro:hasPermission>
            <shiro:hasPermission name="Another_nav_item">
            	<li><a href="">Another nav item</a></li>
            </shiro:hasPermission>
            <shiro:hasPermission name="More_navigation">
            	<li><a href="">More navigation</a></li>
            </shiro:hasPermission>
            <shiro:hasPermission name="Nav_item_again1">
            	<li><a href="">Nav item again</a></li>
            </shiro:hasPermission>
            <shiro:hasPermission name="One_more_nav1">
            	<li><a href="">One more nav</a></li>
            </shiro:hasPermission>
            <shiro:hasPermission name="Another_nav_item1">
           		<li><a href="">Another nav item</a></li>
            </shiro:hasPermission>
          </ul>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
          <h1 class="page-header">Reports</h1>

        </div>
      </div>
    </div>
	
	
	<script src="/base/js/jquery.min.js"></script>
    <script src="/base/js/bootstrap.min.js"></script>
    <script src="/layer/layer.js"></script>
    <script src="/base/js/holder.min.js"></script>
  </body>
</html>